Primitive Class Rotation

Represents a rotation.

Rotations are specifed as a combination of individual angles, in degrees, about each axis. All values will be clamped to [0.0f, 360.0f].

Members

x (float) rotation about x axis
y (float) rotation about y axis
z (float) rotation about z axis

Functions

Rotation(X, Y, Z)
__tostring(rotation)


Members

x
(float) rotation about x axis
y
(float) rotation about y axis
z
(float) rotation about z axis

Functions

Rotation(X, Y, Z)

Parameters:

  • X float rotation about x axis
  • Y float rotation about y axis
  • Z float rotation about z axis

Returns:

    Rotation A Rotation object.
__tostring(rotation)

Parameters:

Returns:

    string A string showing the x, y, and z values of the rotation
generated by TEN-LDoc (a fork of LDoc 1.4.6) Last updated 2023-03-31 20:44:31